package com.mango.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mango.common.utils.PageUtils;
import com.mango.gulimall.product.entity.SpuInfoDescEntity;
import com.mango.gulimall.product.entity.SpuInfoEntity;
import com.mango.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author mango
 * @email mango@gmail.com
 * @date 2021-02-07 23:40:28
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /** spu 信息
     * @param spuInfo
     */
    void saveSpuInfo(SpuSaveVo spuInfo);

    /**
     * @param infoEntity
     */
    void saveBaseSpuInfo(SpuInfoEntity infoEntity);


    /**
     * @param params
     * @return
     */
    PageUtils queryPageByCondition(Map<String, Object> params);
}

